WP_Defender\Controller\Firewall B

Total Complexity 98
Dependencies 28
Dependents 11
Total lines 810
Lines of code 491
Logical lines of code 239
Comment lines 219
Methods 30
Properties 3

Methods 30

Method Rating Maintainability Complexity Lines of code
maybe_lockout()
A
46 12 38
config_strings()
A
48 10 34
maybe_extend_mime_types()
A
51 9 24
schedule_cleanup_blocklist_ips_event()
S
57 7 17
maybe_show_demo_lockout()
S
49 6 32
maybe_lockout_gathered_ips()
S
59 7 15
export_strings()
S
50 5 28
__construct()
S
46 4 39
to_array()
S
52 3 27
actions_for_blocked()
S
54 3 22
print_emoji_script()
S
60 3 13
save_settings()
S
55 2 22
empty_lockouts()
S
58 2 18
empty_logs()
S
58 2 18
data_frontend()
S
48 1 32
get_summary()
S
58 2 16
sync_ip_header()
S
58 2 15
extend_mime_types()
S
71 2 6
remove_data()
S
63 2 10
import_data()
S
69 2 7
menu_title()
S
66 2 8
enqueue_assets()
S
64 2 10
dashboard_activation()
S
61 1 12
dashboard_widget()
S
73 1 5
remove_settings()
S
67 1 8
main_view()
S
81 1 3
clean_up_temporary_ip_blocklist()
S
82 1 3
clean_up_firewall_lockout()
S
82 1 3
clean_up_firewall_logs()
S
82 1 3
update_trusted_proxy_preset_ips()
S
82 1 3